<script setup lang='ts'>

</script>
<template>
    <div class="download-box">
        <div class="top-box">
            <div class="download-left">
                <div class="title">
                    <span class="iconfont icon-telephone"></span>
                    <span>手机版</span>
                </div>
                <div class="desc">扫码即可下载手机app</div>
                <div class="qrcode">
                    <img src="/src/assets/qrcode.png" alt="">
                </div>
            </div>
            <div class="download-right">
                <div class="title">
                    <span class="iconfont icon-pc"></span>
                    <span>Windows端</span>
                </div>
                <div class="desc">适合WIN系统设备</div>
                <div class="icon">
                    <img src="/src/assets/bilibili.png" alt="">
                </div>
                <div class="download-btn">点击下载</div>
            </div>
        </div>
        <div class="bottom-box">点击查看更多下载内容></div>
    </div>

</template>
<style lang='less' scoped>
.download-box {
    width: 347px;

    .top-box {
        display: flex;

        .download-left {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex-shrink: 0;
            // padding-right: 20px;
            border-right: 1px solid #ccc;
            flex: 1;

            .title {
                font-size: 14px;
                line-height: 20px;
                font-weight: 700;
                margin-bottom: 2px;
            }

            .desc {
                font-size: 12px;
                line-height: 17px;
                color: var(--text2);
                margin-bottom: 12px;
            }

            .qrcode {
                width: 87px;
                height: 87px;
                padding: 2px;
                border-radius: 6px;
                overflow: hidden;
                border: 1px solid var(--line_regular);

                img {
                    width: 100%;
                    height: 100%;
                }
            }
        }

        .download-right {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex-shrink: 0;
            // padding-left: 20px;
            flex: 1;

            .title {
                font-size: 14px;
                line-height: 20px;
                font-weight: 700;
                margin-bottom: 2px;
            }

            .desc {
                font-size: 12px;
                line-height: 17px;
                color: var(--text2);
                margin-bottom: 12px;
            }

            .icon {
                widows: 52px;
                height: 52px;
                border-radius: 6px;
                overflow: hidden;
            }

            .download-btn {
                width: 90px;
                height: 30px;
                line-height: 30px;
                font-size: 14px;
                color: #fff;
                background-color: var(--brand-blue);
                text-align: center;
                border-radius: 6px;
                margin-top: 11px;
            }
        }
    }

    .bottom-box {
        text-align: center;
        font-size: 12px;
        line-height: 17px;
        color: var(--text3);
        cursor: pointer;
        margin-top: 10px;
    }
}
</style>